<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>生日快乐！</title>
    <link rel="stylesheet" href="./index.css">
    <link rel="stylesheet" href="./style.css">
</head>

<body>
    <div class="backcolor3"></div>
    <div class="backcolor2"></div>
    <div class="backcolor"></div>
    <div class="main">
        <div class="box">

            <div class="dear" style="display: flex;flex-direction: column;">
                <div style="flex: 1;"></div>
                <div>
                    <img src="./zhu.png" alt="" width="60px">
                <br>
                <img src="./name.png" alt="" width="180px" style="margin-left: 40px;">
                </div>
            </div>
            <figure class="con">
                <img src="./text.png" alt="">
                <img src="./text.png" alt="">
                <img src="./text.png" alt="">
                <img src="./text.png" alt="">
                <img src="./text.png" alt="">
                <img src="./text.png" alt="">
                <img src="./text.png" alt="">
                <img src="./text.png" alt="">
                <img src="./text.png" alt="">
                <img src="./text.png" alt="">
            </figure>
            <div class="bottom">
                <img src="./mooncake.png" alt="" width="200px" style="float: right;">
            </div>
        </div>
    </div>
</body>

</html>
<style>
    .main {
        display: flex;
    }

    .box {
        margin: 20px;
        flex: 1;
        border: pink solid 2px;
        display: flex;
        flex-direction: column;
        vertical-align: middle;
    }

    .dear {
        flex: 1;
    }

    .con {
        font-size: 24px;height: 160px;
    }
    .con img{
        width: 100%;
    }
    .bottom{
        flex: 1;
    }
</style>